﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
#nullable disable

namespace webapi.Models.Database
{
    public partial class Like
    {
        [Required(ErrorMessage = "用户id不能为空")]
        public int UserId { get; set; }
        [Required(ErrorMessage = "文章id不能为空")]
        public int ArticleId { get; set; }
    }
}
